export default {
  data() {
    return {
      testStr: '我是混入组件str'
    }
  },
  created() {
    // console.log('我是混入组件created')
  },
  methods: {
    testFn() {
      console.log('我是混入组件:testFn')
    },
    showButton(value) {
      return (
        this.$store.state.user.userInfo &&
        this.$store.state.user.userInfo.roles.points.includes(value)
      )
    }
  }
}
